
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>贝肯熊</title>
    <link rel="shortcut icon" href="http://www.beikenxiong.com.cn/favicon.ico?v=1443168547" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!-- basic styles -->
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/app.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/bootstrap_min.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/bootstrap_responsive_min.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/style.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/themes.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/inside.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/official.css?v=1443168547" media="all" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/resource.css?v=1443168547" />
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/todc_bootstrap.css?v=1443168547" media="all" />
    <script type="text/javascript" src="/Public/Home/js/jQuery.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/inside.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/app/resource.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/applicationnew.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/bootstrap_min.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/jquery_bootbox.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/contextmenu/bootstrap_contextmenu.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/jquery_validate_min.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/validation/jquery_validate_methods.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/chosen_jquery_min.js?v=1443168547"></script>
    <script type="text/javascript" src="/Public/Home/js/form/jquery_form_min.js?v=1443168547"></script>
    <!--[if IE 7]>
    <link href="/Public/static/user/css/font_awesome_ie7.css?v=1443168547 rel="stylesheet" />
    <![endif]-->
    <!--[if lte IE 8]>
    <script src="/Public/static/user/js/excanvas_min.js?v=1443168547"></script>
    <![endif]-->
    <!--[if lte IE 9]>
    <script src="/Public/static/user/js/watermark.js?v=1443168547"></script>
    <![endif]-->

    <script src="/Public/Home/js/kindeditor-min.js?v=1443168547"></script>
    <script src="/Public/Home/js/zh_CN.js?v=1443168547"></script>
    <link href="/Public/Home/js/default.css?v=1443168547" rel="stylesheet" />


    <script type="text/javascript">
        var  STATIC = "/Public/static";
        var  ROOT = "";
    </script>
    <!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->

</head>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="box">
                <div class="box-title">
                    <div class="span10">
                        <h3><i class="icon-edit"></i>增加</h3>
                    </div>
                    <div class="span2"><a class="btn" href="Javascript:window.history.go(-1)">返回</a></div>
                </div>
                <div class="box-content">
                    <form id="form" action="{:U('plugins/adjunct_newly')}" method="post" class="form-horizontal form-center">
                        <div class="tab-content">
                            <div id="tab1" class="tab-pane in active">
                                <div class="control-group">
                                    <label for="cover" class="control-label">封面图片</label>
                                    <div class="controls">
                                        <img id="thumb_img_cover" type="img" src="http://stc.weimob.com//img/template/lib/home-300200.jpg" style="max-height:100px;" />
                                        <input type="hidden" id="thumb_cover" name="cover" value="" class="input-medium" data-rule-url="true" />
                                        <a id="cover" class="btn insertimage">选择图片</a><span class="help-inline"></span>
                                    </div>
                                </div>
                                <script type="text/javascript">
                                    var arr = [];
                                    var picID;
                                    KindEditor.ready(function(K){
                                        var editor = K.editor({
                                            allowFileManager : true,
                                            fileManagerJson:"{:u('Home/Uploads/fileMgrJson?fold='.'duijiang')}",
                                            uploadJson:'{:u("home/uploads/uploadJson",array("type"=>3,"fold"=>"duijiang"))}',
                                            //extraFileUploadParams:{'uploadFilePath':'/rktdata/uploads/{m$token}'}
                                        });
                                        $('#cover').live('click', function(e){
                                            editor.loadPlugin('image', function(){
                                                editor.plugin.imageDialog({
                                                    imageUrl: $(e.target).prev().val(),
                                                    clickFn: function(url, title, width, height, border, align, uploadFilePath){
                                                        arr = url.split("?");
                                                        picID = arr[1];
                                                        $(e.target).prev().val(picID);
                                                        if ('img' == $(e.target).prev().prev().attr('type')) {
                                                            $(e.target).prev().hide();
                                                            $(e.target).prev().prev().attr('src', url);
                                                            $(e.target).prev().prev().show();
                                                        }
                                                        editor.hideDialog();
                                                    }
                                                });
                                            });
                                        });
                                    });
                                </script>
                                        <link rel="stylesheet" href="/Public/static/kindeditor/default/default.css?v=1443168547" />
                                        <script charset="utf-8" src="/Public/static/kindeditor/kindeditor-min.js"></script>
                                        <script charset="utf-8" src="/Public/static/kindeditor/zh_CN.js?v=1443168547"></script>
                        <div id="res_block">
                            <div class="form-actions">
                                <button type="submit" class="btn btn-primary" id="bsubmit">确 定</button>
                                <a class="btn" href="{:U('plugins/adjunct')}">取消</a>
                            </div>
                        </div>
                                </div>
                            </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


